package com.example.demo.repository;

import com.example.demo.entity.TestAnswer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MbtiAnswerRepository extends JpaRepository<TestAnswer, Long> {

    List<TestAnswer> findByTestRecordId(Long testRecordId);

    List<TestAnswer> findByQuestionId(Long questionId);

}
